<!DOCTYPE HTML>
<html>
  <head lang="en">
    <meta charset="UTF-8">
    <title>
      反馈
    </title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta 
        name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" >
    {% include 'public_css.html' %}
    <style type="text/css">
      .bodybg{width:100%;background:#272727;height:100%;}
    </style>
    
    <!-- UE -->
    
    <script type="text/javascript" charset="utf-8">
        window.UEDITOR_HOME_URL = "/static/index/plug/ueditor/";
    </script> 
    <script type="text/javascript" charset="utf-8" src="/static/index/plug/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/static/index/plug/ueditor/ueditor.all.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/index/plug/ueditor/themes/default/css/ueditor.css"/>
    
    <!-- UE END -->
    
  </head>

  <body class="bodybg">
    
    <br>
    <br>
    <br>
    <!-- form -->
    <div id="feefback_form" class="container-fluid" align="center">

      <form id="rtfForm" method="post" action="">
        <b><h4>
          您的意见与反馈
        </h4></b>
        <div >
          <textarea id="feedback_editor" rows="10"   name="feedback_editor" placeholder="500字以内">
          </textarea>
            {% csrf_token %}
        </div>
        
        <br>
        <br>
        <br>
        <div class="buttons">
          <button type="button" onclick="getAllHtml()" class="btn btn-primary">
            <span>
              <strong>
                提交
              </strong>
            </span>
          </button>
        </div>
      </form>

    </div>
    <!-- form end -->
    <br>
    <hr>

    <p role="footer" align="center" class="container-fluid">
      <b>
        <a href="/home/">
          首页
        </a>
      </b>
    </p>
    
    <script>
    var ue = UE.getEditor('feedback_editor');
    function getAllHtml() {
        //alert(ue.getAllHtml());
        $("#rtfForm").submit()
    }

</script>
    
    {% include 'public_js.html' %}
  </body>

</html>
